package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 支付方式表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pay_type")
public class PayType extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "Id", type = IdType.AUTO)
    private Integer Id;
    /**
     * 支付类型(0:支付宝 1:微信 2:银行)
     */
    @TableField("pay_type")
    private Integer payType;
    /**
     * 支付名称
     */
    @TableField("pay_name")
    private String payName;
    /**
     * 支付图标
     */
    @TableField("pay_icon")
    private String payIcon;
    /**
     * 支付key
     */
    @TableField("pay_app_key")
    private String payAppKey;
    /**
     * 支付screct
     */
    @TableField("pay_app_screct")
    private String payAppScrect;
    /**
     * 支付文件
     */
    @TableField("pay_app_file")
    private String payAppFile;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_delete")
    private Integer isDelete;


}
